.class Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;
.super Landroid/widget/BaseAdapter;
.source "DialogCare.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/DialogCare;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "PickWidgetAdapter"
.end annotation


# instance fields
.field private final mIcon:[I

.field private final mIconText:[I

.field final synthetic this$0:Lcom/nemustech/regina/DialogCare;


# direct methods
.method public constructor <init>(Lcom/nemustech/regina/DialogCare;)V
    .locals 2
    .parameter

    .prologue
    const/4 v1, 0x5

    .line 81
    iput-object p1, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->this$0:Lcom/nemustech/regina/DialogCare;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 65
    new-array v0, v1, [I

    fill-array-data v0, :array_0

    iput-object v0, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->mIcon:[I

    .line 73
    new-array v0, v1, [I

    fill-array-data v0, :array_1

    iput-object v0, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->mIconText:[I

    .line 82
    return-void

    .line 65
    nop

    :array_0
    .array-data 0x4
        0x51t 0x0t 0x2t 0x7ft
        0x50t 0x0t 0x2t 0x7ft
        0x5dt 0x0t 0x2t 0x7ft
        0x5bt 0x0t 0x2t 0x7ft
        0x53t 0x0t 0x2t 0x7ft
    .end array-data

    .line 73
    :array_1
    .array-data 0x4
        0x52t 0x0t 0x7t 0x7ft
        0x53t 0x0t 0x7t 0x7ft
        0x54t 0x0t 0x7t 0x7ft
        0x55t 0x0t 0x7t 0x7ft
        0x56t 0x0t 0x7t 0x7ft
    .end array-data
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 86
    iget-object v0, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->mIcon:[I

    array-length v0, v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .parameter "arg0"

    .prologue
    .line 91
    const/4 v0, 0x0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .parameter "position"

    .prologue
    .line 96
    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 5
    .parameter "position"
    .parameter "convertView"
    .parameter "parent"

    .prologue
    .line 101
    if-nez p2, :cond_0

    .line 102
    iget-object v2, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->this$0:Lcom/nemustech/regina/DialogCare;

    invoke-static {v2}, Lcom/nemustech/regina/DialogCare;->access$000(Lcom/nemustech/regina/DialogCare;)Landroid/view/LayoutInflater;

    move-result-object v2

    const v3, 0x7f030005

    const/4 v4, 0x0

    invoke-virtual {v2, v3, p3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p2

    .line 105
    :cond_0
    const v2, 0x7f090014

    invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 106
    .local v0, iconView:Landroid/widget/ImageView;
    const v2, 0x7f090015

    invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 107
    .local v1, textView:Landroid/widget/TextView;
    iget-object v2, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->mIcon:[I

    aget v2, v2, p1

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 108
    iget-object v2, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->this$0:Lcom/nemustech/regina/DialogCare;

    invoke-static {v2}, Lcom/nemustech/regina/DialogCare;->access$100(Lcom/nemustech/regina/DialogCare;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/regina/DialogCare$PickWidgetAdapter;->mIconText:[I

    aget v3, v3, p1

    invoke-virtual {v2, v3}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 110
    return-object p2
.end method
